package com.iap.admin.command
{
	import com.iap.common.model.User;
	import com.iap.admin.service.ILoginService;
	
	import org.robotlegs.mvcs.SignalCommand;
	
	public class LoginCommand extends SignalCommand
	{
		[Inject]
		public var service:ILoginService;
		[Inject]
		public var request:User;

		override public function execute():void
		{
			service.login(request.userName, request.userPass);
		}
	}
}